package fuzzy.penelope.model.memento {
	import flash.display.Sprite;

	public class StateManager extends Sprite
	{
		
		private var ct:Caretaker;
		private var orig:Originator;
		
		public function StateManager()
		{
			super();
			ct = new Caretaker;
			orig = new Originator;
		}
		
		
		public function revertChanges():*{
			return ct.getMemento(0);
		}
		
	}
}